Use private->data->short_label to update the proxies.
authorXan Lopez <xan@src.gnome.org>
Fri, 25 May 2007 21:02:46 +0000 (21:02 +0000)
committerXan Lopez <xan@src.gnome.org>
Fri, 25 May 2007 21:02:46 +0000 (21:02 +0000)
* gtk/gtkaction.c: (gtk_action_set_short_label):
Use private->data->short_label to update the proxies.

svn path=/trunk/; revision=17918

ChangeLog
gtk/gtkaction.c

index ccd0ac8b903f041d49cf1495fef9887d33ae14c6..4a52f98f52eabb99b19a1ce7e427e340b1f0d38c 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2007-05-25  Xan Lopez  <xan@gnome.org>
+
+       * gtk/gtkaction.c: (gtk_action_set_short_label):
+       Use private->data->short_label to update the proxies.
+
 2007-05-25  Richard Hult  <richard@imendio.com>
 
        * gdk/quartz/gdkimage-quartz.c: (_gdk_quartz_image_copy_to_image):
index a0066911587d19b1868802c62f5fade1d5a6cb59..eb8173ef8b244d8c5bdd42511bf438e616a37855 100644 (file)
@@ -1344,7 +1344,7 @@ gtk_action_set_short_label (GtkAction     *action,
 
       if (GTK_IS_TOOL_BUTTON (proxy))
        gtk_tool_button_set_label (GTK_TOOL_BUTTON (proxy), 
-                                  action->private_data->label);
+                                  action->private_data->short_label);
       else if (GTK_IS_BUTTON (proxy) &&
               !gtk_button_get_use_stock (GTK_BUTTON (proxy)))
        {
@@ -1352,7 +1352,7 @@ gtk_action_set_short_label (GtkAction     *action,
          
          if (child == NULL || GTK_IS_LABEL (child))
            gtk_button_set_label (GTK_BUTTON (proxy), 
-                                 action->private_data->label);
+                                 action->private_data->short_label);
        }
     }